package com.hqj.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "nanfen_comments")
public class Comments {
    @TableId(value = "id", type = IdType.AUTO)
    //主键
    private Integer id;
    //用户名
    private String username;
    //喜欢
    private Integer likes;
    //用户ID
    private Integer parentId;
    //作者
    private Date createBy;
    //博客ID
    private Integer blogId;
    //评论内容
    private String content;
    //用户头像
    private String userImg;
    //@谁
    private String revert;
}
